package com.mnnu.mapper;

import com.mnnu.pojo.DeptLog;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface DeptLogMapper {

    /**
     * 插入一条日志
     * @param deptLog
     */
    @Insert("insert into dept_log (create_time, description) VALUE (#{createTime}, #{description})")
    void insert(DeptLog deptLog);
}
